
<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>用户信息</title>
</head>
<body>
	<div class="modal fade" id="userDetails" tabindex="-1" role="dialog"
		aria-labelledby="userDetailsLabel" aria-hidden="true">
		<div class="modal-dialog">
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal"
						aria-hidden="true">&times;</button>
					<h4 class="modal-title" id="myModalLabel">用户信息</h4>
				</div>
				<div class="modal-body">
					<!---***中部***-->
					<div align="left">
						<!--中上部-->
						<!---***图片滚动----对应的样式是rolling.css***-->
						<div align="center">
							<table width="99%">
								<tr>
									<td style="border-style: none; border-width: medium">
										<form id="userInfor" method="post" name="userInfor">
											<div align="left">
												<!--中上部-->
												<!---***图片滚动----对应的样式是rolling.css***-->
												<div align="center">

													<table class="table table-bordered">

														<input style="width: 200px;" type="hidden" id="userId"
															name="id" value="${user.id}" />
														<td style="text-align: right;">用户名称:</td>
														<td><input style="width: 200px;" type="text"
															id="loginName" required name="loginName"
															value="${user.loginName}" readonly /></td>
														</tr>
														<tr>
															<td style="text-align: right;">电子邮件:</td>
															<td><input style="width: 200px;" type="email"
																id="email" required name="email"
																value="${user.email}" /></td>
														</tr>
														<tr>
															<td style="text-align: right;">密码:</td>
															<td><input style="width: 200px;" type="password"
																required id="password" name="password"
																value="${user.password}" /></td>
														</tr>
														<tr>
															<td style="text-align: right;">状态:</td>
															<td><select name="status" id="status"
																style="width: 200px;">
																
																	<c:choose>
																		<c:when test="${user.status==0}">
																			<option value="0" selected="selected">正常</option>
																			<option value="1">锁定</option>
																		</c:when>
																		<c:otherwise>
																			<option value="0">正常</option>
																			<option value="1" selected="selected">锁定</option>
																		</c:otherwise>
																	</c:choose>
															</select></td>
														</tr>
														<tr>
															<td style="text-align: right;">备注:</td>
															<td><textarea style="width: 200px;" name="note"
																	id="note">
															${user.note}
															</textarea></td>
														</tr>
													</table>
												</div>
												<div id="optBtn" class="modal-footer">
													<button id="saveBtn" type="button" class="btn btn-primary">保存</button>
													<button type="button" class="btn btn-default"
														data-dismiss="modal">关闭</button>
												</div>
											</div>
										</form>
									</td>
								</tr>
							</table>
						</div>
					</div>
					<!--**中中部**-->
					<div></div>
					<!----------------------********中部结束********---------------------------->
				</div>
				<div class="modal-footer"></div>
			</div>
			<!-- /.modal-content -->
		</div>
		<!-- /.modal -->
	</div>

</body>
</html>


